<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<div class="page_right indexpage_right">
    <div class="account_query" style="padding:0;">
        <div class="account_query_listdv">
            <a href="javascript:;" id="search_data">数据查询</a>
            <a href="javascript:;" id="search_export" class="cur">明细导出</a>
        </div>
        <p class="account_query_exporttitle">
            <span>导出文件名称</span>
            <span>导出时间</span>
            <span>操作</span>
        </p>

        <ul class="account_query_exportul">
            <c:forEach items="${exportList}" var="data">
                <li>
                    <span>${data.exportName}</span>
                    <time><fmt:formatDate value="${data.createTime}" pattern="yyyy-MM-dd HH:mm:ss" /></time>
                    <a href="${basePath}v2/account/exportDown/${data.exportId}" class="exportDown">下载</a>
                </li>
            </c:forEach>
        </ul>
    </div>
</div>
<script src="${basePath}resources/js/v2/accountClick.js"></script>
<script type="application/javascript">
    $("#search_data").click(function () {
        window.location.href = "${basePath}v2/account/searchView";
    });

    $("#search_export").click(function () {
        window.location.href = "${basePath}v2/account/exportView";
    });
</script>
